/**
 * Created by hejg on 2018/5/6.
 */
import React from 'react';
import {
    ScrollView,
    Text,
    View,
    Button,
    StyleSheet,
} from 'react-native';
import {createDrawerNavigator} from 'react-navigation';
import MainTab from './MainTab';
import UserDrawer from '../../Base/UserDrawer';

export default createDrawerNavigator({
    MainTab: {screen: MainTab}
}, {
    contentComponent: props => {
        return (
            <UserDrawer/>
        )
    },
    drawerLockMode: 'locked-closed'
});